#pragma once


// CPicEditor

class CPicEditor : public CStatic
{
	DECLARE_DYNAMIC(CPicEditor)

	CRect m_rcHotRegion;
	CPoint m_ptMouseDown;

protected:
	DECLARE_MESSAGE_MAP()

public:
	CPicEditor();
	virtual ~CPicEditor();

	void GetHotRegion(CRect& rc);
	void ClearHotRegion();

	afx_msg void OnPaint();
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
};


